[INFO] cloning repository https://github.com/foresterre/corniferbot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foresterre/corniferbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fcorniferbot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fcorniferbot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54c514411a8488f791da8ec1f279cec6d41d62a1
[INFO] testing foresterre/corniferbot against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fcorniferbot" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/foresterre/corniferbot on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/foresterre/corniferbot
[INFO] finished tweaking git repo https://github.com/foresterre/corniferbot
[INFO] tweaked toml for git repo https://github.com/foresterre/corniferbot written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/foresterre/corniferbot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c19b233217b53c3e671425cdd2b514411ca2f3064c1e3e1d1998ed151a7468a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1c19b233217b53c3e671425cdd2b514411ca2f3064c1e3e1d1998ed151a7468a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c19b233217b53c3e671425cdd2b514411ca2f3064c1e3e1d1998ed151a7468a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c19b233217b53c3e671425cdd2b514411ca2f3064c1e3e1d1998ed151a7468a", kill_on_drop: false }`
[INFO] [stdout] 1c19b233217b53c3e671425cdd2b514411ca2f3064c1e3e1d1998ed151a7468a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7d9c262af74afc0e3027d1e87ab2d52a25e124ea2c0ec64dae75a3e2e9768f3e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7d9c262af74afc0e3027d1e87ab2d52a25e124ea2c0ec64dae75a3e2e9768f3e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.14
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling anyhow v1.0.26
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.9
[INFO] [stderr]    Compiling sharded-slab v0.0.8
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling aho-corasick v0.7.8
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tracing-log v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.54
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling openssl v0.10.28
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling regex-automata v0.1.8
[INFO] [stderr]    Compiling regex v1.3.4
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling multipart v0.16.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling tokio-macros v0.2.4
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling tracing-attributes v0.1.6
[INFO] [stderr]    Compiling tokio v0.2.11
[INFO] [stderr]    Compiling futures-macro v0.3.3
[INFO] [stderr]    Compiling tracing v0.1.12
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling tracing-futures v0.2.1
[INFO] [stderr]    Compiling futures-util v0.3.3
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling tokio-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling futures-executor v0.3.3
[INFO] [stderr]    Compiling futures v0.3.3
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling hyper v0.13.2
[INFO] [stderr]    Compiling hyper-tls v0.4.1
[INFO] [stderr]    Compiling serde_json v1.0.46
[INFO] [stderr]    Compiling serde-value v0.5.3
[INFO] [stderr]    Compiling tracing-serde v0.1.0
[INFO] [stderr]    Compiling telegram-bot-raw v0.7.0 (https://github.com/telegram-rs/telegram-bot.git#8e363c51)
[INFO] [stderr]    Compiling tracing-subscriber v0.2.0
[INFO] [stderr]    Compiling telegram-bot v0.7.0 (https://github.com/telegram-rs/telegram-bot.git#8e363c51)
[INFO] [stderr]    Compiling corniferbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: environment variable `TG_TOKEN` not defined
[INFO] [stdout]   --> src/main.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let token = env!("TG_TOKEN");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `corniferbot`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "7d9c262af74afc0e3027d1e87ab2d52a25e124ea2c0ec64dae75a3e2e9768f3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d9c262af74afc0e3027d1e87ab2d52a25e124ea2c0ec64dae75a3e2e9768f3e", kill_on_drop: false }`
[INFO] [stdout] 7d9c262af74afc0e3027d1e87ab2d52a25e124ea2c0ec64dae75a3e2e9768f3e
